<template>
	<view class="py-2 flex justify-between items-center">
		<text class="text-lg">{{ title }}</text>
		<slot></slot>
	</view>
</template>

<script setup>
	defineProps({
		title: { type: String, default: '默认标题' }
	})
</script>
